home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 033a / vfy_20.zip / TRAPDOOB.BAT < prev    next >
DOS Batch File  |  1991-10-09  |  2KB  |  51 lines

  1. @echo off
  2. cls
  3. rem TRAPDOOB.BAT     TRADE WARS 2002 v1.03
  4. c:
  5. rem %0 = trapdoor.bat, %1 = port#, %2 = baud, %3 = first name, %4 = last name,
  6. rem %5 = security, %6 = ansi(Y/N), %7 = start directory, %8 = CARRIER or LOCAL
  7.  
  8. rem ************************************************************************
  9. rem * Security to enter this batch file is 5.  IF the caller's security is *
  10. rem * 6 through 11, VERIFY! is skipped, and the game is accessed.  IF the *
  11. rem * caller's security is 5, caller is offered to be verified.  IF the    *
  12. rem * returned ERRORLEVEL is 0 (local call), then caller is verified and   *
  13. rem * still on line.  MHAPI 5 will reset his security on exit of the Trap  *
  14. rem * Doors and access to the game is authorized.                          *
  15. rem *                                                                      *
  16. rem ************************************************************************
  17.  
  18. CD\MEGAHOST\2002v103
  19.  
  20. IF %5 == 6 GOTO RUN
  21. IF %5 == 7 GOTO RUN
  22. IF %5 == 8 GOTO RUN
  23. IF %5 == 9 GOTO RUN
  24. IF %5 == 10 GOTO RUN
  25. IF %5 == 11 GOTO RUN
  26.  
  27. modemtxt %1 %3 %4 2002v103.msg
  28.  
  29. COPY C:\MEGAHOST\DATA\DOOR.SYS
  30. VERIFY! -MEGAHOST
  31. IF ERRORLEVEL 0 IF NOT ERRORLEVEL 2 GOTO SET
  32. GOTO END
  33.  
  34. :SET
  35. mhapi 5 6
  36.  
  37. :RUN
  38. rem   Create CALLINFO.BBS
  39. callinfo %1 %2 %3 %4 %5 %6 %7 %8
  40.  
  41. echo Loading Trade Wars 2002 v1.03! Good Luck!>> com2:
  42. echo Loading Trade Wars 2002 v1.03! Good Luck!
  43.  
  44. rem ***********************************************************
  45. echo         *** Entering Trade Wars 2002 v1.03 *** >> c:\MEGAHOST\DATA\MEGAHOST.LOG
  46. tw2002 -WILD
  47. goto end
  48. rem ***********************************************************
  49.  
  50. :end
  51.